package light.head.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 考勤记录
 */
@Entity
@Table
public class Attendance implements Serializable {


	private static final long serialVersionUID = -9032698728305091641L;
	
	
	private Integer code;
	private Date ut;						// 上班时间
	private Date dt;						// 下班时间
	private Date dtime;						//日期
	private Integer uc;						//员工编号
	
	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	
	@Column
	public Date getUt() {
		return ut;
	}
	
	@Column
	public Date getDt() {
		return dt;
	}
	
	@Column
	public Date getDtime() {
		return dtime;
	}
	
	@Column
	public Integer getUc() {
		return uc;
	}
	
	
	
	
	
	public void setDtime(Date dtime) {
		this.dtime = dtime;
	}

	public void setUc(Integer uc) {
		this.uc = uc;
	}

	public void setCode(Integer code) {
		this.code = code;
	}
	public void setUt(Date ut) {
		this.ut = ut;
	}
	public void setDt(Date dt) {
		this.dt = dt;
	}
	
	
}
